<?php
class rulesComponents extends sfComponents 
{
   
	function executeAllRules(sfWebRequest $request)
    {	
    	$c = new Criteria();
		$c->addDescendingOrderByColumn(RulesPeer::UPDATED_AT);
		//$this->all_rules=rulesPeer::doSelect($c);
		$this->pager = new PropelPager($c, 'rulesPeer', 'doSelect', $this->Page, 12);
    }
	
}
